package com.baiyangtx.lingerweather.net;

public class ForecastTask extends AbstractSyncTask {

	
	private static final String base = "http://m.weather.com.cn/data/" ;
	
	private String code ;
	
	public ForecastTask(String code) {
		this.code = code ;
	}
	
	
	@Override
	protected Parser getParser() {
		return new ForecastParser() ;
	}

	@Override
	protected String getUrl() {
		return base + code + ".html";
	}

}
